import request from '../request'

export function genTree(params) {
    return request({ url: '/api/user/role/genTree',method: 'post',data: params})
}

export function treeList(params) {
    return request({ url: '/api/user/role/treeList',method: 'post',data: params})
}

export function save(params) {
    return request({ url: '/api/user/role/save',method: 'post',data: params})
}

export function setPermissions(params) {
    return request({ url: '/api/user/role/setPermissions',method: 'post',data: params})
}

export function updateExt(params) {
    return request({ url: '/api/user/role/updateExt',method: 'post',data: params})
}






